package com.platform.module.pojo.user.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class RegisterDto {


    @Schema(description = "手机号")
    @NotBlank(message = "phone number cannot be empty")
    private String phone;

    @NotBlank(message = "password cannot be empty")
    @Schema(description = "密码")
    private String password;

    @Schema(description = "昵称")
    private String cnickname;

    @Schema(description = "真实姓名")
    private String crealname;
}
